/**
 * Created by fuji0229 on 2016/9/18.
 */
module.exports = function(gulp,plugins,config){
    gulp.task('pic', '处理资源图片', function(){
        return gulp
            .src(config.pic,{
                base:config.src
            })
            .pipe(plugins.imagemin())
            .pipe(gulp.dest(config.dest));
    });
};